package com.liws.helloUpload.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liws.helloUpload.model.Picture;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Blob;
import java.util.List;

/**
 * @Author: liweisheng
 * @Dcscription:
 * @Date: 2022/1/5 15:18
 */
@Mapper
public interface PictureMapper extends BaseMapper<Picture> {

    int savePicture(@Param(value="p") Picture p);

    int saveManyPictures(List<Picture> list);
}
